package com.wclass.service.impl;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.wclass.entity.CourseInfo;
import com.wclass.mapper.CourseInfoMapper;
import com.wclass.service.ICourseInfoService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 课程基本信息 服务实现类
 * </p>
 *
 * @author 张浩高
 * @since 2018-12-21
 */
@Service
public class CourseInfoServiceImpl extends ServiceImpl<CourseInfoMapper, CourseInfo> implements ICourseInfoService {

    @Override
    public Page<CourseInfo> selectCourseWithOrderPage(Page<CourseInfo> page, EntityWrapper<CourseInfo> ew) {
        return page.setRecords(this.baseMapper.selectCourseWithOrderPage(page, ew));
    }

}
